Next smaller number with the same digits

05.04.2023

Write a function that takes a positive integer and returns the next smaller positive integer containing the same digits.

Blog_Description